-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USHIFT-5286: Update image mode document with bootc image builder (BIB) #4387
USHIFT-5286: Update image mode document with bootc image builder (BIB) #4387
Conversation
Skipping CI for Draft Pull Request. |
8895e06
to
9c4895a
Compare
@praveenkumar , |
c9b2352
to
b72ecde
Compare
@ggiguash you mean those script should be part of |
Such scripts are intended for devenv setup and we have previous experience with build.sh I would not want to repeat. Users took it as a base for their procedures, but it was very contextual and not correct for all the cases. For what I'd like to see is an augmentation of the image_mode.md page with this w/f, using the same style - instructions rather than a full script. |
@ggiguash Understood, will move the script to our project and update the image mode doc with BIB info in this PR. |
b72ecde
to
e5f0715
Compare
@praveenkumar: This pull request explicitly references no jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@ggiguash Please have a look, I updated the docs and remove script part. |
docs/contributor/image_mode.md
Outdated
Copy the `install.iso` file to the `/var/lib/libvirt/images` directory. | ||
|
||
```bash | ||
sudo cp -Z ./output/bootiso/install.iso /var/lib/libvirt/images |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename the install.iso to ${VMNAME}.iso
during the copy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ggiguash Sure
docs/contributor/image_mode.md
Outdated
the bootc image builder process. | ||
|
||
```bash | ||
cat > config.toml <<EOFCONF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about using the config.tomp file for only embedding kickstart.
What's the main point here to deviate from the kickstart settings in previous sections?
P.S. I'm not decided on which approach is better, so I'm looking for justification to introduce config.toml notion in this document.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ggiguash Use of kickstart file is required because of providing the required disk layout to work for microshift lvm part otherwise we can directly use BiB on the generated bootc microshift image.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that kickstart is required. I'm asking if we need propagate kickstart via config.toml rather than from virt-install command line, like in previous section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, we can use virt-install cli to pass the kickstart but we should mention or link to the doc that how it can also be embedded with iso when using BIB so that created ISO can be used on other hypervisor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap, that would work. Let's add a note pointing to upstread docs here?
/retitle USHIFT-5286: Update image mode document with bootc image builder (BIB) |
@praveenkumar: This pull request references USHIFT-5286 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/assign @ggiguash |
/unhold |
e5f0715
to
687deae
Compare
Thank you, @praveenkumar ! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggiguash, praveenkumar The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@praveenkumar: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Which issue(s) this PR addresses:
Closes #